#include "guidanceMenu.h"
#include "ui_guidanceMenu.h"

GuidanceMenu::GuidanceMenu(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::GuidanceMenu)
{
    ui->setupUi(this);
}

GuidanceMenu::~GuidanceMenu()
{
    delete ui;
}

void GuidanceMenu::changeLanguage()
{
    ui->retranslateUi(this);
}
void GuidanceMenu::on_moveMag_Btn_clicked()
{
    emit moveMagInstruction();
}

void GuidanceMenu::on_moveFree_Btn_clicked()
{
    emit moveFreeInstruction();
}

void GuidanceMenu::on_forwardPage_Btn_clicked()
{
    this->close();
    emit guidanceForwardPageSignal();
}

//void GuidanceMenu::on_nextPage_Btn_clicked()
//{
//    emit guidanceNextPageSignal();
//}

void GuidanceMenu::on_resetOdometry_Btn_clicked()
{
    emit guidanceSetOdomResetSlot();
}
